﻿@using HiLand.General.Entity
@model List<SimpleProductEntity>
@{
    ViewBag.Title = "热卖产品";

    string productImageUrl = Url.Content("~/Content/Images/NoImage_340_255.jpg");
}
<div class="page-browse">
    <div class="section-header">
        <h1>
            今日热卖</h1>
    </div>
    <div class="results">
        <div class="menu">
            <div class="titlebar">
                <h4>
                    产品类别</h4>
            </div>
            <ul class="menu">
            </ul>
        </div>
        <div class="items">
            <div class="titlebar">
                <h4>
                    Today's Featured Offer</h4>
            </div>
            <div class="clearfix">
                @for (int i = 0; i < Model.Count; i++)
                {
                    SimpleProductEntity currentItem= Model[i];
                    Html.RenderAction("_ProductItemBigFeature", "Product", new { productGuid = currentItem.ProductGuid });
                }
            </div>
            @*
            以下代码在展示更多产品信息时使用
            <div class="titlebar">
                <h4>
                    Our Favorite Deals</h4>
            </div>
            <table width='100%' cellspacing='0' cellpadding='0' class='items searchresult-vertical'>
                <tr>
                    <td align='center' class='result' width='25%'>
                       @{Html.RenderAction("_ProductItemSmallFeature", "Product", new { productGuid = Guid.Empty });}
                    </td>
                    <td align='center' class='result' width='25%'>
                        
                    </td>
                    <td align='center' class='result' width='25%'>
                       
                    </td>
                    <td align='center' class='result' width='25%'>
                       
                    </td>
                </tr>
               
            </table>*@
        </div>
    </div>
</div>
